export default function LmyFn() {
  let score = Math.floor(Math.random() * 100);
  let txt = "";
  if (score >= 90 && score < 100) {
    // console.log(`${score}分是优秀`);
    txt = `${score}分是优秀`;
  } else if (score >= 80 && score < 90) {
    // console.log(`${score}分是良好`);
    txt = `${score}分是良好`;
  } else if (score >= 70 && score < 80) {
    // console.log(`${score}分是中等`);
    txt = `${score}分是中等`;
  } else if (score >= 60 && score < 70) {
    // console.log(`${score}分是及格`);
    txt = `${score}分是及格`;
  } else {
    // console.log(`${score}分是不及格`);
    txt = `${score}分是不及格`;
  }
  console.log(txt);
  return txt;
}
